<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;

/**
 * Class ChatRoom
 * 
 * @property int $id
 * @property string|null $room_name
 * @property int|null $type
 * @property int|null $from_id
 * @property int|null $to_id
 * @property Carbon|null $created_at
 * @property Carbon|null $updated_at
 *
 * @package App\Models
 */
class ChatRoom extends Model
{
	protected $table = 'chat_room';

	protected $casts = [
		'type' => 'int',
		'from_id' => 'int',
		'to_id' => 'int'
	];

	protected $fillable = [
		'room_name',
		'type',
		'from_id',
		'to_id'
	];
}
